﻿<Page
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:VMDS_GUIClient_ViewModels_Management_VMs="clr-namespace:VMDS.GUIClient.ViewModels.Management.VMs" x:Class="VMDS.GUIClient.Views.Management.VMs.AddVmStep4" 
      mc:Ignorable="d" 
      d:DesignHeight="416" d:DesignWidth="600"
	Title="AddVmStep4">
	<Page.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary Source="/VMDS.GUIClient;component/Views/ResourceDictionary1.xaml"/>
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Page.Resources>

	<Page.DataContext>
		<VMDS_GUIClient_ViewModels_Management_VMs:AddVmViewModel/>
	</Page.DataContext>

    <Grid>
    	<Rectangle Margin="96,88" Stroke="#FFF8F3F3" StrokeThickness="0.5" RadiusX="10" RadiusY="10">
    		<Rectangle.Fill>
    			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0" Opacity="0.435">
    				<LinearGradientBrush.RelativeTransform>
    					<TransformGroup>
    						<ScaleTransform CenterY="0.5" CenterX="0.5"/>
    						<SkewTransform CenterY="0.5" CenterX="0.5"/>
    						<RotateTransform CenterY="0.5" CenterX="0.5"/>
    						<TranslateTransform/>
    					</TransformGroup>
    				</LinearGradientBrush.RelativeTransform>
    				<GradientStop Color="#FFEFECEC"/>
    				<GradientStop Offset="0.558"/>
    				<GradientStop Color="#FFEFECEC" Offset="1"/>
    				<GradientStop Offset="0.494"/>
    			</LinearGradientBrush>
    		</Rectangle.Fill>
    	</Rectangle>
    	<ProgressBar Margin="0,152,0,0" Value="{Binding Instance.OperationProgress}" Height="24" VerticalAlignment="Top" Width="200" HorizontalAlignment="Center"/>
    	<TextBlock Height="32" Margin="0,0,0,176" TextWrapping="Wrap" Text="{Binding Instance.OperationMessage}" VerticalAlignment="Bottom" FontSize="16" HorizontalAlignment="Center"/>
    	<Button Grid.Column="0" Margin="0,0,0,112" Grid.Row="0" Style="{DynamicResource BlueButton}" VerticalAlignment="Bottom" Content="{Binding Instance.CancelStr}" Height="32" FontSize="16" FontWeight="Bold" HorizontalAlignment="Center" Command="{Binding Instance.Cancel, Mode=OneWay}" Width="110.5"/>
        
    </Grid>
</Page>
